﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace QYmall.Core.Model.ViewModels
{
    /// <summary>
    /// 优惠券商品关联(显示)
    /// </summary>
    public class ShopCouponGoodsRelationDto
    {
        /// <summary>
        /// 自增ID
        /// </summary>
        [Display(Name = "自增ID")]
        public long Id { get; set; }

        /// <summary>
        /// 所属商品ID
        /// </summary>
        [Display(Name = "所属商品")]
        public long GoodsId { get; set; }

        /// <summary>
        /// 优惠券ID
        /// </summary>
        [Display(Name = "所属优惠券")]
        public long CouponId { get; set; }

        /// <summary>
        /// 商品信息
        /// </summary>
        public ShopGoodsDto? Goods { get; set; }
    }
}
